Source for file Subgroups.php
Documentation is available at Subgroups.php
<?php require_once 'index.php'; ?>
$groups = $admin->perm ->getGroups ();
echo 'Run the <b>Group</b> test first<br />';
for ($i = 0; $i < 5; $i++ ) {
$assign = $admin->perm ->assignSubgroup ($group, $subgroup);
echo $subgroup. ' is already a subgroup of <b>'. $group. '</b><br />';
echo $subgroup. ' is now subgroup of <b>'. $group. '</b><br />';
echo 'All the groups:<br />';
$allGroups = $admin->perm ->getGroups (null , true );
if ($allGroups === false ) {
echo $allGroups->getMessage (). '<br />';
Var_Dump ::display ($allGroups);
Documentation generated on Mon, 11 Mar 2019 14:00:09 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|